package com.ra.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ra.pojo.Article;
import com.ra.pojo.ArticleTag;
import com.ra.pojo.RespPageBean;
import com.ra.pojo.dto.ArticleAdminDTO;
import com.ra.pojo.dto.ArticleDTO;
import com.ra.pojo.dto.ArticleSearchDTO;
import com.ra.pojo.dto.ConditionDTO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 今晚几点睡_Ada
 * @since 2023-03-09
 */
public interface IArticleService extends IService<Article> {
    void saveOrUpdateArticle(ArticleDTO articleDTO);

    RespPageBean<ArticleAdminDTO> listArticlesAdmin(ConditionDTO conditionDTO);

    List<ArticleSearchDTO> listArticlesBySearch(ConditionDTO condition);
}
